package com.sc.vo;

import java.io.Serializable;
import java.util.List;

/**
 * (‘order’)实体类
 *
 * @author makejava
 * @since 2024-06-06 08:40:02
 */
public class OrderVo {
/**
 * 主键id
 */
private Integer id;
/**
 * 用户id
 */
private Integer userId;
/**
 * 价格
 */
private Double totalPrice;
/**
 * 状态
 */
private Integer status;

/**
 *商品
 */
private List<OrderItemVo>orderItemVos;

        public Integer getId() {
                return id;
        }

        public void setId(Integer id) {
                this.id = id;
        }

        public Integer getUserId() {
                return userId;
        }

        public void setUserId(Integer userId) {
                this.userId = userId;
        }

        public Object getTotalPrice() {
                return totalPrice;
        }

        public void setTotalPrice(Double totalPrice) {
                this.totalPrice = totalPrice;
        }

        public Integer getStatus() {
                return status;
        }

        public void setStatus(Integer status) {
                this.status = status;
        }

        public List<OrderItemVo> getOrderItemVos() {
                return orderItemVos;
        }

        public void setOrderItemVos(List<OrderItemVo> orderItemVos) {
                this.orderItemVos = orderItemVos;
        }
}

